# -*-Python-*-

transformer.LayerStack.sublayers_per_layer = [
    @transformer.sublayer_mask_padding,
    @transformer.sublayer_call_layer,
    @transformer.sublayer_dropout,
    @transformer.sublayer_rezero,
    @transformer.sublayer_residual]

transformer.LayerStack.sublayers_final = [
    @transformer.sublayer_dropout,
    @transformer.sublayer_mask_padding]
